{extend name='layout/main'}
{block name='style'}
<style>
    .lapage {
        margin-top: 20px;
    }

    .lapage .pagination li {
        margin-left: 5px
    }

    .lapage .pagination li span, .lapage .pagination li a {
        border-radius: 0.375rem;
        position: relative;
        display: block;
        padding: 0.5rem 1rem;
        line-height: 1.25;
        color: #6c757d;
        background-color: #fff;
        border: 0.0625rem solid #dee2e6;
    }

    .lapage .pagination li.active span {
        background: #dee2e6;
    }
</style>
{/block}
{block name='body'}
<div class="main">
    <section class="spotlight parallax bg-cover bg-size--cover" data-spotlight="fullscreen">
        <div class="container align-items-center no-padding">
            <div class="card">
                <table class="table">
                    <thead>
                    <tr>
                        <!--                        <th scope="col">#</th>-->
                        <th scope="col">时间</th>
                        <th scope="col">金额</th>
                        <th scope="col">类型</th>
                        <th scope="col">状态</th>
                    </tr>
                    </thead>
                    <tbody>
                    {volist name='list' id='account'}
                    <tr>
                        <!--                        <th scope="row">{$account.id}</th>-->
                        <td>{$account.create_time|date='Y-m-d'}</td>
                        <td>{$account.money_change}</td>
                        <td>{$account.type == 1 ? '充值': '提现'}</td>
                        <td>{$account.status|status_str}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
            <nav aria-label=" navigation" class="lapage">
                {$list|raw}
            </nav>
        </div>
    </section>
</div>
{/block}